package com.bonuo.saas.service.impl;

import com.bonuo.saas.domain.TaskBid;
import com.bonuo.saas.mapper.TaskBidMapper;
import com.bonuo.saas.service.TaskBidService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TaskBidServiceImpl implements TaskBidService {

    @Autowired
    private TaskBidMapper taskBidMapper;

    @Override
    public List<TaskBid> selectTaskBidList(TaskBid taskBid) {
        return taskBidMapper.selectTaskBidList(taskBid);
    }

    @Override
    public int insertTaskBid(TaskBid taskBid) {
        return taskBidMapper.insertTaskBid(taskBid);
    }

    @Override
    public int updateTaskBid(TaskBid taskBid) {
        return taskBidMapper.updateTaskBid(taskBid);
    }

    @Override
    public int deleteTaskBidById(Integer id) {
        return taskBidMapper.deleteTaskBidById(id);
    }
}
